using System;
using System.ComponentModel;

namespace ERPWinFormWork.Test.Test.Dtos
{
    /// <summary>
    /// 缺陷数量DTO - 用于接收FindCommon_DefectsCountByCode API响应
    /// </summary>
    public class DefectCountDtos
    {
        /// <summary>
        /// 检测项Id
        /// </summary>
        [DisplayName("检测项Id")]
        public int testing_ItemsId { get; set; }

        /// <summary>
        /// 致命缺陷数量
        /// </summary>
        [DisplayName("致命缺陷数量")]
        public int fatal_DefectCount { get; set; }

        /// <summary>
        /// 严重缺陷数量
        /// </summary>
        [DisplayName("严重缺陷数量")]
        public int serious_DefectCount { get; set; }

        /// <summary>
        /// 轻微缺陷数量
        /// </summary>
        [DisplayName("轻微缺陷数量")]
        public int minor_DefectCount { get; set; }

        /// <summary>
        /// 致命缺陷率
        /// </summary>
        [DisplayName("致命缺陷率")]
        public int fatal_Defect_Rate { get; set; }

        /// <summary>
        /// 严重缺陷率
        /// </summary>
        [DisplayName("严重缺陷率")]
        public int serious_Defect_Rate { get; set; }

        /// <summary>
        /// 轻微缺陷率
        /// </summary>
        [DisplayName("轻微缺陷率")]
        public int minor_Defect_Rate { get; set; }

        /// <summary>
        /// 检验名称
        /// </summary>
        [DisplayName("检验名称")]
        public string inspectionName { get; set; }

        /// <summary>
        /// 发货日期
        /// </summary>
        [DisplayName("发货日期")]
        public DateTime shipment_Date { get; set; }

        /// <summary>
        /// 物料日期
        /// </summary>
        [DisplayName("物料日期")]
        public DateTime materialDate { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        [DisplayName("批次")]
        public string batch { get; set; }

        /// <summary>
        /// 检测数量
        /// </summary>
        [DisplayName("检测数量")]
        public int inspection_Count { get; set; }

        /// <summary>
        /// 合格数量
        /// </summary>
        [DisplayName("合格数量")]
        public int qualified_Count { get; set; }

        /// <summary>
        /// 不合格数量
        /// </summary>
        [DisplayName("不合格数量")]
        public int noQualified_Count { get; set; }

        /// <summary>
        /// 检测结果
        /// </summary>
        [DisplayName("检测结果")]
        public string detection_Result { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        public string notes { get; set; }
    }
}

